#pragma once
class CColor4
{
public:
	CColor4(void);
	CColor4(DATA_TYPE r, DATA_TYPE g, DATA_TYPE b, DATA_TYPE a);
	virtual ~CColor4(void);

	CColor4 operator+(const CColor4& rhs) const;
	CColor4 operator*(const CColor4& rhs) const;
	CColor4 operator*(float fScalar) const;
	CColor4 operator/(float fScalar) const;

	CColor4& operator+=(const CColor4& rhs);
	CColor4& operator/=(DATA_TYPE fScalar);

	DATA_TYPE GetSquaredColorDistance(const CColor4& rhs) const;

	DATA_TYPE r, g, b, a;
};

CColor4 operator*(DATA_TYPE fScalar, const CColor4& col);
